-
Mach:
-
A unique integer
-
-
Bevy:
-
A collection of components with a unique id.
-
Entity1 { Name("Alice"), Position(0, 0) } -
Entity2 { Name("Bill"), Position(10, 5) }
-
-
An entity is a unique identifier (usually a number or an ID) that represents a "thing" in the system, like a character, object, or actor in a game or simulation.
-
Entities are simple identifiers and do not have behavior or data directly attached to them. They merely aggregate components.
-
Ex :
-
In a game, a player, an enemy, a bullet, or a tree can be represented as entities.
-
Entity